package com.example.demo.service;

import com.example.demo.modal.Concept;

import java.util.List;

public interface ConceptService {
    List<Concept> findAll();

    Integer addConcept(Concept concept);

    Integer findMaxId();

    Integer updateConcept(Concept concept);

    Integer deleteConcept(Integer id);

    List<Concept> findByConceptId(Integer id);

    List<Concept> findByVariaName(String name);

    List<Concept> findByParentId(Integer id);

}
